Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / EmbeddedImageData Class / SetImage Method / SetImage(Byte[],String) Method
The byte array of the image.
The content type of the image data.

In This Topic
    SetImage(Byte[],String) Method
    In This Topic
    Sets the image that is displayed by the picture.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub SetImage( _
       ByVal bytes() As System.Byte, _
       ByVal contentType As System.String _
    ) 
    public virtual void SetImage( 
       System.byte[] bytes,
       System.string contentType
    )

    Parameters

    bytes
    The byte array of the image.
    contentType
    The content type of the image data.
    See Also